@charset "utf-8";
@import "reset";
@import "common";
$doneColor: #42cc63;
$undoneColor: #d6d6d6; 
body {
    background-color: #fff;
}
.wrap {
    width: 100%;
}
header {
    overflow: hidden;
    box-shadow: 0px 3px 6px rgba(204, 204, 204, 0.75);
    .header_contant {
        position: relative;
        margin-bottom: 65px;
        //购物流程
        .flow {
            margin-top: 61px;
            ul {
                li {
                    float: left;
                    width: 197px;
                    position: relative;
                    .bg_line {
                        display: block;
                        width: 100%;
                        height: 3px;
                        background-color: $doneColor;
                        position: absolute;
                        top: 14px;
                    }
                    &:last-child {
                        .bg_line {
                            background-color: $undoneColor;
                        }
                        .num {
                            background-color: $undoneColor;
                        }
                        p {
                            color: $undoneColor;
                        }
                    }
                    .num {
                        width: 31px;
                        height: 31px;
                        background-color: $doneColor;
                        border-radius: 50%;
                        text-align: center;
                        line-height: 31px;
                        position: absolute;
                        left: 50%;
                        transform: translateX(-50%);
                        color: #fff;
                        a {
                            color: #fff;
                            display: block;
                        }
                    }
                    p {
                        text-align: center;
                        font-size: 18px;
                        color: $doneColor;
                        margin-top: 32px;
                        a {
                            color: $doneColor;
                        }
                    }
                }
            }
        }
    }
}
section {
    overflow: hidden;
    form {
        margin-bottom: 269px;
        h3 {
            font-size: 18px;
            line-height: 72px;
        }
        table.check {
            width: 1318px;
            border: 1px solid #efefef;
            padding: 14px 35px 12px 25px;
            margin: 0 auto;
            tr {
                height: 32px;
                background-color: #efefef;
                &:nth-child(2n) {
                    height: 135px;
                    background-color: #fff;
                    font-size: 14px;
                }
                &:last-child {
                    vertical-align: top;
                }
                td {
                    .message {
                        display: inline-block;
                        ul {
                            li {
                                height: 25px;
                            }
                        }
                    }
                    input[type="radio"] {
                        vertical-align: 35px;
                        margin-right: 13px;
                    }
                    &:first-child {
                        padding-left: 18px;
                        width: 285px;
                    }
                    p {
                        color: #ff1b1b;
                        margin-top: 22px;
                        width: 738px;
                        line-height: 24px;
                    }
                }
            }
        }
        h4 {
            font-size: 16px;
            line-height: 58px;
        }
        table.details {
            border-collapse:collapse;
            font-size: 14px;
            tr {
                height: 41px;
                &:first-child {
                    vertical-align: top;
                    td:first-child {
                        padding: 0;
                    }
                    input[type="checkbox"] {
                        height: 17px;
                        width: 17px;
                        vertical-align: top;
                    }
                    .all_del {
                        margin-left: 29px;
                        a {
                            color: #000;
                            &:hover {
                                text-decoration: underline;
                            }
                        }
                    }
                }
                &:nth-child(2) {
                    background-color: #efefef;
                    td {
                        &:nth-child(3) {
                            span {
                                margin-left: 22px;
                            }
                        }
                    }
                }
                &:nth-child(4) {
                    height: 141px;
                    border: 1px solid #efefef;
                    div {
                        display: inline-block;
                    }
                    input[type="checkbox"] {
                        width: 17px;
                        height: 17px;
                        vertical-align: 50px;
                        margin-right: 19px;
                    }
                    .commodity_img {
                        width: 120px;
                        height: 120px;
                        img {
                            display: block;
                            width: 100%;
                        }
                    }
                    .commodity_name {
                        vertical-align: top;
                        margin-left: 13px;
                        h4 {
                            line-height: 18px;
                            margin-bottom: 20px;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            white-space: nowrap;
                            width: 207px;
                        }
                        p {
                            margin-bottom: 20px;
                            span {
                                color: #b0b0b0;
                            }
                        }
                    }
                    .subtotal {
                        color: #e02a2a;
                    }
                    .collect, .delete {
                        display: block;
                        a {
                            color: #2d4ecb;
                            &:hover {
                                color: #e02a2a;
                                text-decoration: underline;
                            }
                        }
                    }
                    input[type="number"] {
                        width: 36px;
                        height: 19px;
                        border: 1px solid #d2d2d2;
                        text-align: center;
                        float: left;
                    }
                    input[type="button"] {
                        width: 22px;
                        height: 19px;
                        background-color: #d2d2d2;
                        float: left;
                        text-align: center;
                        line-height: 19px;
                    }
                }
                &:nth-child(5) {
                    height: 2px;
                }
                &:nth-child(6) {
                    height: 127px;
                    background-color: #efefef;
                    vertical-align: top;
                    td {
                        overflow: hidden;
                        span {
                            margin-left: 9px;
                            margin-right: 15px;
                            vertical-align: 55px;
                        }
                        textarea {
                            width: 1153px;
                            height: 65px;
                            resize: none;
                            border: 0;
                            margin-top: 31px;
                            padding-left: 15px;
                            padding-top: 11px;
                            box-sizing: border-box;
                        }
                        textarea::-webkit-input-placeholder {
                            color: #e4e4e4;
                        }
                        textarea::-moz-placeholder {
                            color: #e4e4e4;
                        }
//                      ie10+
                        textarea:-ms-input-placeholder {
                            color: #e4e4e4;
                        }
                    }
                }
                &:nth-child(7) {
                    height: 98px;
                    border-bottom: 1px solid #dadada;
                    vertical-align: bottom;
                    td {
                        &:first-child {
                            padding: 0;
                        }
                    }
                    p {
                        font-size: 12px;
                        margin-bottom: 10px;
                    }
                }
                &:last-child {
                    height: 119px;
                    vertical-align: bottom;
                    p {
                        font-size: 16px;
                        text-align: right;
                        margin-bottom: 11px;
                        span {
                            color: #ff1b1b;
                        }
                    }
                    input[type="button"] {
                        float: right;
                        width: 124px;
                        height: 40px;
                        color: #fff;
                        background-color: #362f2f;
                        border-radius: 5px;
                    }
                }
                td {
                    width: 204px;
                    &:first-child {
                        width: 502px;
                        padding-left: 27px;
                    }
                }
            }
        }
    }
}
